<div class="footer-container">
    <!--<div class="qrcode">
        <img class="img" src="images/index/qrcode.jpg"></img>
    </div>-->
    <div class="v-blank-30"></div>
    <div class="content-box">
        <div class="line">黑米微色素着色中心是中国纹发行业的领导品牌。</div>
        <div class="line">广州市黑米美容有限公司 <a href="https://beian.miit.gov.cn/">粤ICP备18094863号</a></div>
    </div>
    <div class="v-blank-30"></div>
</div>
<div class="back-to-top" id="rocket"></div>
<div class="bottom-container">
    <div class="content-box">
        <div class="element">
            <div class="bottom-contact"></div>
            <div>
                在线咨询
            </div>
        </div>
        <div class="element">
            <div class="bottom-search"></div>
            <div>
                搜索
            </div>
        </div>
        <div class="element">
            <div class="bottom-test"></div>
            <div>
                脱发自测
            </div>
        </div>
    </div>
</div>
<script>

    window.onscroll = function() {
        var topScroll = document.body.scrollTop || document.documentElement.scrollTop;
        var rocket = document.getElementById("rocket");
        if (topScroll > 0) {
            rocket.style.visibility = "visible"
        } else {
            rocket.style.visibility = "hidden"
        }
    }

    $(document).ready(function() {
        $("#male").click(function() {
            $("#male").removeClass("default");
            $("#male").addClass("checked");
            $("#female").removeClass("checked");
            $("#female").addClass("default");
        });
        $("#female").click(function() {
            $("#female").removeClass("default");
            $("#female").addClass("checked");
            $("#male").removeClass("checked");
            $("#male").addClass("default");
        });

        $(".back-to-top").click(function() {
            $("html, body").animate({
                scrollTop: 0
            }, {
                duration: 500,
                easing: "swing"
            });
        })
    })
</script>